Finding Geometric Information About Shapes
The functions described in this section calculate geometric information about a shape.The
GXGetShapeLength
function calculates the length of a particular contour or of all contours in a shape.The
GXShapeLengthToPoint
function determines the point that falls at a specified distance along a particular contour or along all combined contours of a shape.The
GXGetShapeCenter
function determines the center point of a particular contour of or all combined contours of a shape's geometry.The
GXGetShapeArea
function calculates the area covered by a particular contour or by all combined contours of a shape's geometry.You can also use the
GXGetShapeBounds
function, described on page 4-90, to find geometric information about a shape--in this case, the shape's bounding rectangle.
Subtopics
- GXGetShapeLength
- GXShapeLengthToPoint
- GXGetShapeCenter
- GXGetShapeArea
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help